package com.flyme.module.base.provider.configuration;

import com.flyme.module.base.provider.listener.DicDataInitListener;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: zyf
 * @date: 2018/12/17 14:51
 * @desc: 默认的配置
 */
@Configuration
public class BaseAutoConfiguration {
    @Bean
    @ConditionalOnMissingBean(DicDataInitListener.class)
    public DicDataInitListener dicDataInitListener() {
        return new DicDataInitListener();
    }
    
   
    
}
